#!/bin/sh
rm -rf *.pyc *.o *.so *_wrap.c basic_ptr.py
swig -python  basic_ptr.i
gcc -fPIC -c basic_ptr.c basic_ptr_wrap.c -I/usr/include/python2.7/
ld -shared basic_ptr.o basic_ptr_wrap.o -o _basic_ptr.so
